package com.chs.recoginition.pojo;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;

/**
 * <p>
 * 帖子
 * </p>
 * @author CHS
 * @since 2023-04-08
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class InvitationContent implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 唯一编号
     */
    @TableId(value = "ID", type = IdType.AUTO)
    private Integer id;

    /**
     * 识别内容ID
     */
    @TableField("IDENTIFICATION_ID")
    private String identificationId;

    /**
     * 标题
     */
    @TableField("TITLE")
    private String title;

    /**
     * 内容
     */
    @TableField("MESSAGE")
    private String message;



    /**
     * 创建人
     */
    @TableField("CREATED_BY")
    private Integer createdBy;

    /**
     * 创建时间
     */
    @TableField(value = "CREATED_TIME",fill = FieldFill.INSERT)
    private LocalDateTime createdTime;

    /**
     * 更新人
     */
    @TableField("UPDATED_BY")
    private Integer updatedBy;

    /**
     * 更新时间
     */
    @TableField(value = "UPDATED_TIME",fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updatedTime;


}
